package com.yuju.login.dao.mapper;

import com.yuju.login.dao.entity.Menu;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface MenuMapper extends BaseMapper<Menu, String> {
    int deleteByPrimaryKey(Integer id);

    int selectCountByMap(Map<Object, Object> map);

    List<Menu> selectListByMap(Map<Object, Object> map);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);
    
    List<Menu> menuListByOpId(String opId);
}